home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
usr
/
bin
/
ecore-config
< prev
next >
Wrap
Text File
|
2006-01-09
|
2KB
|
103 lines
#!/bin/sh
prefix=/usr
exec_prefix=${prefix}
exec_prefix_set=no
usage() {
echo "Usage: ecore-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]" 1>&2
echo " [--libs-con] [--libs-config] [--libs-dbus] [--libs-evas] [--libs-fb]" 1>&2
echo " [--libs-file] [--libs-ipc] [--libs-job] [--libs-txt] [--libs-x]" 1>&2
}
if test $# -eq 0; then
usage
exit 1
fi
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case $1 in
--prefix=*)
prefix=$optarg
if test $exec_prefix_set = no ; then
exec_prefix=$optarg
fi
;;
--prefix)
echo $prefix
;;
--exec-prefix=*)
exec_prefix=$optarg
exec_prefix_set=yes
;;
--exec-prefix)
echo $exec_prefix
;;
--version)
echo 0.9.9.022
;;
--cflags)
if test ${prefix}/include != /usr/include ; then
includes="-I${prefix}/include"
fi
echo $includes
;;
--libs)
libdirs=-L/usr/lib
echo $libdirs -lecore -lecore_job -lecore_x -lecore_evas -lecore_con -lecore_ipc -lecore_txt -lecore_fb -lecore_config -lecore_file -L/usr/lib -leet -lz -ljpeg -lm
;;
--libs-con)
libdirs=-L/usr/lib
echo $libdirs -lecore -lecore_con -lm
;;
--libs-config)
libdirs=-L/usr/lib
echo $libdirs -lecore -lecore_config -L/usr/lib -leet -lz -ljpeg -lm
;;
--libs-dbus)
libdirs=-L/usr/lib
echo $libdirs -lecore -lm
;;
--libs-evas)
libdirs=-L/usr/lib
echo $libdirs -lecore -lecore_evas -L/usr/lib -leet -lz -ljpeg -lm
;;
--libs-fb)
libdirs=-L/usr/lib
echo $libdirs -lecore -lecore_fb -lm
;;
--libs-file)
libdirs=-L/usr/lib
echo $libdirs -lecore -lecore_file -lm
;;
--libs-ipc)
libdirs=-L/usr/lib
echo $libdirs -lecore -lecore_ipc -lm
;;
--libs-job)
libdirs=-L/usr/lib
echo $libdirs -lecore -lecore_job -lm
;;
--libs-txt)
libdirs=-L/usr/lib
echo $libdirs -lecore -lecore_txt -lm
;;
--libs-x)
libdirs=-L/usr/lib
echo $libdirs -lecore -lecore_x -lm
;;
*)
usage
exit 1
;;
esac
shift
done
exit 0